function Animator(duration, updateInterval) {

	this.time = 0;
	this.duration = duration;
	this.updateInterval = updateInterval;

}

Animator.prototype.getTime = function() {
	console.log("getTimeexecuted");
	return this.duration;
}

function reCall(meth) {
	console.log("blda222");
	vael = meth();
	console.log("value: " + vael);
}

function testE() {
	var objectB = new Animator(10, 100);
	
	reCall(objectB.getTime);

}
